﻿<Window
  x:Class="SanctusSoftware.Music.ChordSheetEditor.Wpf.AboutWindow"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  Title="About Chord Sheet Editor Add-In for Word 2007"
  Height="540"
  Width="543"
  WindowStartupLocation="CenterScreen"
    ResizeMode="NoResize">

  <Grid
    Background="#F0F0F0">
    <Grid.RowDefinitions>
      <RowDefinition
        Height="*" />
      <RowDefinition
        Height="Auto" />
    </Grid.RowDefinitions>
    <Border
      Grid.Row="0"
      Margin="7"
      Padding="7"
      Background="White"
      BorderBrush="DarkGray"
      BorderThickness="1">

      <Grid>
        <Grid.RowDefinitions>
          <RowDefinition
            Height="Auto" />
          <RowDefinition
            Height="Auto" />
          <RowDefinition
            Height="*" />
        </Grid.RowDefinitions>
        <Image
          Grid.Row="0"
          Source="Images/logo.png" />
        <StackPanel
          Grid.Row="1"
          Orientation="Vertical">
          <StackPanel.Background>
            <LinearGradientBrush
              StartPoint="0.5 0"
              EndPoint="0.5 1">
              <GradientStop
                Offset="0"
                Color="Black" />
              <GradientStop
                Offset="0.05"
                Color="#7A7A7A" />
              <GradientStop
                Offset="0.5"
                Color="#4B4B4B" />
              <GradientStop
                Offset="0.5"
                Color="#3D3D3D" />
              <GradientStop
                Offset="1"
                Color="#111111" />
            </LinearGradientBrush>
          </StackPanel.Background>
          <TextBlock
            Foreground="White"
            TextAlignment="Center"
            FontWeight="Bold"
            FontSize="18">
                    <TextBlock.Text>Chord Sheet Editor Add-In</TextBlock.Text></TextBlock>
          <TextBlock
            Foreground="White"
            TextAlignment="Center"
            FontSize="14"
            FontWeight="Bold">for Microsoft ® Word ® 2007</TextBlock>
          <StackPanel
            Orientation="Horizontal" HorizontalAlignment="Center">
            <TextBlock
              Foreground="White"
              TextAlignment="Center"
              FontSize="14">Version</TextBlock>
            <TextBlock
              Margin="7 0 0 0"
              Foreground="White"
              TextAlignment="Center"
              FontSize="14"
              Text="{Binding ReleaseInformation.Version}" />
            <TextBlock
              Margin="7 0 0 0"
              Foreground="White"
              TextAlignment="Center"
              FontSize="14"
              Text="{Binding ReleaseInformation.ReleaseType}" />
          </StackPanel>
          <Border
            Height="4"
            Background="#EFEFEF"></Border>
        </StackPanel>
        <TabControl
          Grid.Row="2"
          TabStripPlacement="Left">
          <TabItem
            Header="Information">
            <FlowDocumentScrollViewer>
              <FlowDocument>
                <FlowDocument.Blocks>
                  <Paragraph
                    TextAlignment="Center"
                    FontSize="12">
                    Copyright © 2008-2010 by Shaun Hayward
                    <LineBreak /> All Rights Reserved.
                    <LineBreak /> Licensed under the GPL v2
                    <LineBreak />
                    <Hyperlink
                      NavigateUri="http://www.sanctussoft.com"
                      RequestNavigate="Hyperlink_RequestNavigate">http://www.sanctussoft.com</Hyperlink>
                    <LineBreak />
                    <Hyperlink
                      NavigateUri="http://chordsheeteditorword.codeplex.com"
                      RequestNavigate="Hyperlink_RequestNavigate">http://chordsheeteditorword.codeplex.com</Hyperlink>
                  </Paragraph>


                  <Paragraph
                    Margin="0 50 0 0"
                    TextAlignment="Center"
                    FontSize="10">
                    Microsoft and Word are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
                  </Paragraph >

                  <Paragraph
                    Margin="0 50 0 0"
                    TextAlignment="Center"
                    FontSize="12">
                    <TextBlock>Add-In Path:</TextBlock>
                    <LineBreak />
                    <TextBlock
                      FontSize="10"
                      Text="{Binding AddInPath}" />
                  </Paragraph>
                </FlowDocument.Blocks>
              </FlowDocument>
            </FlowDocumentScrollViewer>
          </TabItem>
          <TabItem>
            <TabItem.Header>
              <TextBlock
                TextAlignment="Center">Components<LineBreak />Attribution</TextBlock>
            </TabItem.Header>
            <FlowDocumentScrollViewer>
              <FlowDocument>
                <Paragraph
                  TextAlignment="Center"
                  FontSize="10">
                  Components from other authors:
                </Paragraph>
                <!--<Paragraph
                                    TextAlignment="Center"
                                    FontSize="10">
                                    <TextBlock
                                        FontSize="12"
                                        FontWeight="Bold">SharpZipLib by ic#code</TextBlock>
                                    <LineBreak />
                                    <Hyperlink
                                        NavigateUri="http://www.icsharpcode.net/opensource/sharpziplib"
                                        RequestNavigate="Hyperlink_RequestNavigate">http://www.icsharpcode.net/opensource/sharpziplib</Hyperlink>
                                </Paragraph>-->
                <!--<Paragraph
                  TextAlignment="Center"
                  FontSize="10">
                  <TextBlock
                    FontSize="12"
                    FontWeight="Bold">NHunspell by Thomas Maierhofer</TextBlock>
                  <LineBreak />
                  <Hyperlink
                    NavigateUri="http://nhunspell.sourceforge.net"
                    RequestNavigate="Hyperlink_RequestNavigate">http://nhunspell.sourceforge.net</Hyperlink>

                </Paragraph>

                <Paragraph
                  TextAlignment="Center"
                  FontSize="10">
                  <TextBlock
                    FontSize="12"
                    FontWeight="Bold">en-US Dictionary by Kevin Atkinson</TextBlock>

                </Paragraph>-->
                <Paragraph
                  TextAlignment="Center"
                  FontSize="10">
                  <TextBlock
                    FontSize="12"
                    FontWeight="Bold">Windows Installer XML (WiX) by Rob Mensching et. al.</TextBlock>
                  <LineBreak />
                  <Hyperlink
                    NavigateUri="http://wix.sourceforge.net"
                    RequestNavigate="Hyperlink_RequestNavigate">http://wix.sourceforge.net</Hyperlink>
                </Paragraph>

                                <Paragraph
                                    TextAlignment="Center"
                                    FontSize="10">
                                    <TextBlock
                                        FontSize="12"
                                        FontWeight="Bold">MSBuild Extension Pack</TextBlock>
                                    <LineBreak />
                                    <Hyperlink
                                        NavigateUri="http://msbuildextensionpack.codeplex.com"
                                        RequestNavigate="Hyperlink_RequestNavigate">http://msbuildextensionpack.codeplex.com</Hyperlink>
                                </Paragraph>
                                

                            </FlowDocument>
            </FlowDocumentScrollViewer>
          </TabItem>
          <TabItem>
            <TabItem.Header>
              <TextBlock
                TextAlignment="Center">Graphics<LineBreak />Attribution</TextBlock>
            </TabItem.Header>
            <FlowDocumentScrollViewer>
              <FlowDocument>
                <Paragraph
                  TextAlignment="Center"
                  FontSize="10">
                  Some graphics belong to collections by the following authors:
                </Paragraph>
                <Paragraph
                  TextAlignment="Center"
                  FontSize="10">
                  <TextBlock
                    FontSize="12"
                    FontWeight="Bold">VisualPharm</TextBlock>
                  <LineBreak />
                  <Hyperlink
                    NavigateUri="http://www.visualpharm.com"
                    RequestNavigate="Hyperlink_RequestNavigate">http://www.visualpharm.com</Hyperlink>
                </Paragraph>
                <Paragraph
                  TextAlignment="Center"
                  FontSize="10">
                  <TextBlock
                    FontSize="12"
                    FontWeight="Bold">ömerçetin</TextBlock>
                  <LineBreak />
                  <Hyperlink
                    NavigateUri="http://omercetin.deviantart.com"
                    RequestNavigate="Hyperlink_RequestNavigate">http://omercetin.deviantart.com</Hyperlink>
                  <LineBreak />
                  <Hyperlink
                    NavigateUri="http://www.omercetin.net"
                    RequestNavigate="Hyperlink_RequestNavigate">http://www.omercetin.net</Hyperlink>
                </Paragraph>
                <Paragraph
                  TextAlignment="Center"
                  FontSize="10">
                  <TextBlock
                    FontSize="12"
                    FontWeight="Bold">Everaldo Coelho</TextBlock>
                  <LineBreak />
                  <TextBlock>Crystal Project Icons</TextBlock>
                  <LineBreak />
                  <Hyperlink
                    NavigateUri="http://www.everaldo.com"
                    RequestNavigate="Hyperlink_RequestNavigate">http://www.everaldo.com</Hyperlink>
                </Paragraph>
                <Paragraph
                  TextAlignment="Center"
                  FontSize="10">
                  <TextBlock
                    FontSize="12"
                    FontWeight="Bold">Fat Cow</TextBlock>
                  <LineBreak />
                  <Hyperlink
                    NavigateUri="http://www.fatcow.com"
                    RequestNavigate="Hyperlink_RequestNavigate">http://www.fatcow.com</Hyperlink>
                </Paragraph>
              </FlowDocument>
            </FlowDocumentScrollViewer>
          </TabItem>
          <TabItem
            Header="License">
            <TextBox
              AcceptsReturn="True"
              AcceptsTab="True"
              Text="{Binding License, Mode=OneWay}"
              TextWrapping="Wrap"
              VerticalScrollBarVisibility="Visible"
              IsReadOnly="True" />
          </TabItem>


        </TabControl>
      </Grid>

      <!--<Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition
                        Width="Auto" />
                    <ColumnDefinition
                        Width="*" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition
                        Height="*" />
                </Grid.RowDefinitions>
                <Image
                    Grid.Column="0"
                    Grid.Row="0"
                    Margin="0"
                    Source="Images/Guitar.png" />
                <StackPanel
                    Grid.Column="1"
                    Grid.Row="0"
                    Orientation="Vertical"
                    HorizontalAlignment="Right">
                    <StackPanel.Resources>
                        <Style
                            TargetType="{x:Type TextBlock}">
                            <Setter
                                Property="TextAlignment"
                                Value="Center" />
                        </Style>
                    </StackPanel.Resources>
                    <TextBlock
                        FontSize="18"
                        FontWeight="Bold">Chord Sheet Editor Add-In</TextBlock>
                    <TextBlock
                        FontSize="14"
                        FontWeight="Bold">for Microsoft ® Word ® 2007</TextBlock>
                    <TextBlock></TextBlock>
                    <TextBlock>Version</TextBlock>
                    <TextBlock>Release</TextBlock>
                    <TextBlock
                        Margin="0 15 0 0"
                        FontWeight="Bold">Attributions</TextBlock>
                    <TextBlock>Some graphics courtacy of:</TextBlock>

                    <Label
                        Grid.Column="0"
                        Grid.Row="0"
                        Grid.ColumnSpan="2"
                        FontWeight="Bold"
                        HorizontalAlignment="Center">
                        <Label.Content>ömerçetin
                        </Label.Content>
                        <Label.ToolTip>
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition
                                        Width="Auto" />
                                    <ColumnDefinition
                                        Width="*" />
                                </Grid.ColumnDefinitions>
                                <Grid.RowDefinitions>
                                    <RowDefinition
                                        Height="Auto" />
                                    <RowDefinition
                                        Height="Auto" />
                                    <RowDefinition
                                        Height="Auto" />
                                    <RowDefinition
                                        Height="Auto" />
                                </Grid.RowDefinitions>

                                <Label
                                    Grid.Column="0"
                                    Grid.Row="1">Collections:</Label>
                                <TextBlock
                                    Grid.Column="1"
                                    Grid.Row="1">PixeloPhilia
              <LineBreak />PixeloPhilia 2
                                </TextBlock>
                                <Label
                                    Grid.Column="0"
                                    Grid.Row="2">Licenses:</Label>
                                <TextBlock
                                    Grid.Column="1"
                                    Grid.Row="2">Creative Commons Attribution 3.0 Unported</TextBlock>
                                <Label
                                    Grid.Column="0"
                                    Grid.Row="3">Urls:</Label>
                                <TextBlock
                                    Grid.Column="1"
                                    Grid.Row="3">http://omercetin.deviantart.com/
              <LineBreak />http://www.omercetin.net
                                </TextBlock>
                            </Grid>
                        </Label.ToolTip>
                    </Label>


                </StackPanel>


            </Grid>-->


    </Border>
    <StackPanel
      Grid.Row="1"
      Orientation="Horizontal"
      HorizontalAlignment="Right"
      Margin="7 0 14 7">
      <StackPanel.Resources>
        <Style
          TargetType="{x:Type Button}">
          <Setter
            Property="MinWidth"
            Value="75" />
          <Setter
            Property="MinHeight"
            Value="24" />
          <Setter
            Property="Margin"
            Value="7 0 0 0" />
        </Style>
      </StackPanel.Resources>


      <Button
        x:Name="_OKButton"
        Click="_OKButton_Click"
        IsCancel="True"
        IsDefault="True">OK</Button>

    </StackPanel>
  </Grid>


  <!--<Grid Margin="10">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Image 
            Grid.Column="0" Grid.Row="0"
            Margin="0"
            Source="Images/Guitar.png" />
        <StackPanel 
            Grid.Column="1" Grid.Row="0"
            Orientation="Vertical" HorizontalAlignment="Center">
            <StackPanel.Resources>
                <Style TargetType="{x:Type TextBlock}" >
                    <Setter Property="TextAlignment" Value="Center" />
                </Style>
            </StackPanel.Resources>
            <TextBlock FontSize="18" FontWeight="Bold">Chord Sheet Editor Add-In<LineBreak />for<LineBreak />Microsoft ® Word ® 2007</TextBlock>
            <TextBlock></TextBlock>
            <TextBlock>Version</TextBlock>
            <TextBlock>Release</TextBlock>
        </StackPanel>
        <StackPanel 
            Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="2"
            Orientation="Horizontal" HorizontalAlignment="Right">
            <StackPanel.Resources>
                <Style TargetType="{x:Type Button}">
                    <Setter Property="MinWidth" Value="80" />
                    <Setter Property="Margin" Value="10 0 0 0" />
                </Style>
            </StackPanel.Resources>
            <Button
                x:Name="_LicenseButton" Click="_LicenseButton_Click">License</Button>
            <Button
                x:Name="_OKButton">OK</Button>
        </StackPanel>
    </Grid>-->
</Window>
